package com.think.archive.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Author hackcat
 * @Date: 2020-02-27 17:09
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> implements Serializable {

    private static final long serialVersionUID = 7873075861089342381L;
    private int pageSize;
    private int pageNo;
    private Long totalCount;
    private int totalPage;
    private List<T> data;
}
